package com.crm.system.service.index;

import com.crm.common.model.DhPageInfo;
import com.crm.model.entity.sys.Notify;
import com.crm.model.qo.recruitmentManagement.AnnouncementQO;
import com.crm.model.vo.announcement.AnnouncementVO;

/**
 * @author wll
 * @date 2020/12/18 14:09
 */
public interface AnnouncementService {

    /**
     * 获取公告列表信息
     */
    DhPageInfo<AnnouncementVO> getList(Integer pageIndex, Integer pageSize, String searchInfo, Integer publicStatus,String sort,String sortOrder);

    Boolean add(AnnouncementQO announcementQO);

    Boolean update(AnnouncementQO announcementQO);

    Boolean delete(String id);

    Boolean updateIstop(String id, Integer isTop);

    Notify selectNotifyById(String id);
}
